<div>
	<yu-panel title="控制台通知">
		<yu-xform related-table-name="refTable" form-type="search" v-model="searchFormdata">
			<yu-xform-group :column="4">
				<yu-xform-item label="查看状态" placeholder="查看状态" ctype="select" name="viewStatus" data-code="USE_MSG_VIEW_STATUS"></yu-xform-item>
			</yu-xform-group>
		</yu-xform>
		<yu-toolBar>
			<yu-button @click="viewConsoleNotice">查看</yu-button>
			<yu-button @click="batchView">已阅</yu-button>
		</yu-toolBar>
		<yu-xtable ref="refTable" row-number :data-url="dataUrl" :pageable="true" selection-type="checkbox">
			<yu-xtable-column label="标题" prop="msgTitle"></yu-xtable-column>
			<yu-xtable-column label="通知时间" prop="sendTime"></yu-xtable-column>
			<yu-xtable-column label="接受人" prop="receiveUser"></yu-xtable-column>
			<yu-xtable-column label="查看状态" prop="viewStatus" data-code="USE_MSG_VIEW_STATUS"></yu-xtable-column>
			<yu-xtable-column label="查看时间" prop="viewTime"></yu-xtable-column>
		</yu-xtable>
	</yu-panel>
	<yu-xdialog title="详情" :visible.sync="dialogVisible" width="800px" @close="closeWindowFn">
		<yu-xform ref="refForm" v-model="formdata" label-width="120px">
			<yu-xform-group :column="2">
				<yu-xform-item label="标题" ctype="input" colspan="24" name="msgTitle"></yu-xform-item>
				<yu-xform-item label="通知时间" ctype="input" name="sendTime" colspan="12"></yu-xform-item>
				<yu-xform-item label="状态" ctype="select" colspan="12" name="viewStatus" data-code="USE_MSG_VIEW_STATUS"></yu-xform-item>
				<yu-xform-item label="接受人" ctype="input" name="receiveUser" colspan="12"></yu-xform-item>
				<yu-xform-item label="查看时间" ctype="input" name="viewTime" colspan="12"></yu-xform-item>
				<yu-xform-item label="内容" ctype="textarea" colspan="24" name="msgContent" :rows="6"></yu-xform-item>
			</yu-xform-group>
		</yu-xform>
	</yu-xdialog>
</div>